[INFO] fetching crate lewton 0.10.2...
[INFO] testing lewton-0.10.2 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate lewton 0.10.2 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate lewton 0.10.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate lewton 0.10.2
[INFO] tweaked toml for crates.io crate lewton 0.10.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lewton 0.10.2 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lewton 0.10.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-io v0.1.12
[INFO] [stderr]   Downloaded al-sys v0.6.1
[INFO] [stderr]   Downloaded rental-impl v0.5.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.8
[INFO] [stderr]   Downloaded alto v3.0.4
[INFO] [stderr]   Downloaded futures v0.1.29
[INFO] [stderr]   Downloaded tinyvec v1.0.1
[INFO] [stderr]   Downloaded byteorder v1.3.2
[INFO] [stderr]   Downloaded bytes v0.4.12
[INFO] [stderr]   Downloaded rental v0.5.5
[INFO] [stderr]   Downloaded owning_ref v0.3.3
[INFO] [stderr]   Downloaded syn v1.0.14
[INFO] [stderr]   Downloaded smallvec v0.6.13
[INFO] [stderr]   Downloaded parking_lot_core v0.2.14
[INFO] [stderr]   Downloaded parking_lot v0.4.8
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4312ed251faccc53a7beddf37aef9056cb9d76ffd8b9e14084bfbe0521fb9cca
[INFO] running `Command { std: "docker" "start" "-a" "4312ed251faccc53a7beddf37aef9056cb9d76ffd8b9e14084bfbe0521fb9cca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4312ed251faccc53a7beddf37aef9056cb9d76ffd8b9e14084bfbe0521fb9cca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4312ed251faccc53a7beddf37aef9056cb9d76ffd8b9e14084bfbe0521fb9cca", kill_on_drop: false }`
[INFO] [stdout] 4312ed251faccc53a7beddf37aef9056cb9d76ffd8b9e14084bfbe0521fb9cca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03af5c8239f8370a5a6d750ce811a63d1f2d39dd913dd5d0d5e51bd3d6566ade
[INFO] running `Command { std: "docker" "start" "-a" "03af5c8239f8370a5a6d750ce811a63d1f2d39dd913dd5d0d5e51bd3d6566ade", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.0.1
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling lewton v0.10.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]  --> src/lib.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![cfg_attr(not(cargo_c), forbid(unsafe_code))]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]    --> src/lib.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout] 111 | #[cfg(cargo_c)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]    --> src/lib.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[cfg(cargo_c)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `codebook_entries` is never read
[INFO] [stdout]    --> src/header.rs:363:6
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub(crate) struct Codebook {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] 362 |     pub codebook_dimensions :u16,
[INFO] [stdout] 363 |     pub codebook_entries :u32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mapping_submaps` is never read
[INFO] [stdout]    --> src/header.rs:382:6
[INFO] [stdout]     |
[INFO] [stdout] 381 | pub(crate) struct Mapping {
[INFO] [stdout]     |                   ------- field in this struct
[INFO] [stdout] 382 |     pub mapping_submaps :u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `floor0_rate` and `floor0_bark_map_size` are never read
[INFO] [stdout]    --> src/header.rs:402:6
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub(crate) struct FloorTypeZero {
[INFO] [stdout]     |                   ------------- fields in this struct
[INFO] [stdout] 401 |     pub floor0_order :u8,
[INFO] [stdout] 402 |     pub floor0_rate :u16,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 403 |     pub floor0_bark_map_size :u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/bitpacking.rs:364:31
[INFO] [stdout]     |
[INFO] [stdout] 364 |     pub fn new(arr : &'a[u8]) -> BitpackCursor {
[INFO] [stdout]     |                       --         ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 364 |     pub fn new(arr : &'a[u8]) -> BitpackCursor<'a> {
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.66s
[INFO] running `Command { std: "docker" "inspect" "03af5c8239f8370a5a6d750ce811a63d1f2d39dd913dd5d0d5e51bd3d6566ade", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03af5c8239f8370a5a6d750ce811a63d1f2d39dd913dd5d0d5e51bd3d6566ade", kill_on_drop: false }`
[INFO] [stdout] 03af5c8239f8370a5a6d750ce811a63d1f2d39dd913dd5d0d5e51bd3d6566ade
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22b397becf7e6a1083c23c2daec2a73999774e1dd4208cdc04d5cdb5049dbe70
[INFO] running `Command { std: "docker" "start" "-a" "22b397becf7e6a1083c23c2daec2a73999774e1dd4208cdc04d5cdb5049dbe70", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling al-sys v0.6.1
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]  --> src/lib.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![cfg_attr(not(cargo_c), forbid(unsafe_code))]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]    --> src/lib.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout] 111 | #[cfg(cargo_c)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c`
[INFO] [stdout]    --> src/lib.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[cfg(cargo_c)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `codebook_entries` is never read
[INFO] [stdout]    --> src/header.rs:363:6
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub(crate) struct Codebook {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] 362 |     pub codebook_dimensions :u16,
[INFO] [stdout] 363 |     pub codebook_entries :u32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mapping_submaps` is never read
[INFO] [stdout]    --> src/header.rs:382:6
[INFO] [stdout]     |
[INFO] [stdout] 381 | pub(crate) struct Mapping {
[INFO] [stdout]     |                   ------- field in this struct
[INFO] [stdout] 382 |     pub mapping_submaps :u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `floor0_rate` and `floor0_bark_map_size` are never read
[INFO] [stdout]    --> src/header.rs:402:6
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub(crate) struct FloorTypeZero {
[INFO] [stdout]     |                   ------------- fields in this struct
[INFO] [stdout] 401 |     pub floor0_order :u8,
[INFO] [stdout] 402 |     pub floor0_rate :u16,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 403 |     pub floor0_bark_map_size :u16,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/bitpacking.rs:364:31
[INFO] [stdout]     |
[INFO] [stdout] 364 |     pub fn new(arr : &'a[u8]) -> BitpackCursor {
[INFO] [stdout]     |                       --         ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 364 |     pub fn new(arr : &'a[u8]) -> BitpackCursor<'a> {
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.2.14
[INFO] [stderr]    Compiling parking_lot v0.4.8
[INFO] [stderr]    Compiling rental-impl v0.5.5
[INFO] [stderr]    Compiling rental v0.5.5
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rental-0.5.5/src/lib.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  93 |         #[derive(__rental_traits)]
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     define_rental_traits!(32);
[INFO] [stdout]     |     ------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{ Input = (0, stringify! (32)).0 }"
[INFO] [stdout]     = note: this error originates in the macro `define_rental_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rental-0.5.5/src/lib.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |               #[derive(__rental_structs_and_impls)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 | / rental! {
[INFO] [stdout] 286 | |     /// Example types that demonstrate the API generated by the rental macro.
[INFO] [stdout] 287 | |     pub mod examples {
[INFO] [stdout] 288 | |         use std::sync;
[INFO] [stdout] ...   |
[INFO] [stdout] 346 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{\n    Input =\n    (0, stringify!\n    (use std::sync;\n    #[doc =\n    r\" The simplest shared rental. The head is a boxed integer, and the suffix is a ref to that integer. This struct demonstrates the basic API that all shared rental structs have. See [`SimpleMut`](struct.SimpleMut.html) for the mutable analog.\"]\n    #[rental] pub struct SimpleRef { head: Box<i32>, iref: &'head i32, }\n    #[doc =\n    r\" The simplest mutable rental. Mutable rentals have a slightly different API; compare this struct to [`SimpleRef`](struct.SimpleRef.html) for the clearest picture of how they differ.\"]\n    #[rental_mut] pub struct SimpleMut\n    { head: Box<i32>, iref: &'head mut i32, }\n    #[doc =\n    r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `debug` flag enabled. This will provide a `Debug` impl for the struct as long as all of the fields are `Debug`.\"]\n    #[rental(debug)] pub struct SimpleRefDebug\n    { head: Box<i32>, iref: &'head i32, }\n    #[doc =\n    r\" Similar to [`SimpleRef`](struct.SimpleRef.html), but with the `clone` flag enabled. This will provide a `Clone` impl for the struct as long as the prefix fields are `CloneStableDeref` and the suffix is `Clone` . Notice that the head is an `Arc`, since a clone of an `Arc` will deref to the same object as the original.\"]\n    #[rental(clone)] pub struct SimpleRefClone\n    { head: sync::Arc<i32>, iref: &'head i32, }\n    #[doc =\n    r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `deref_suffix` flag enabled. This will provide a `Deref` impl for the struct, which will in turn deref the suffix. Notice that this flag also removes the `self` param from all methods, replacing it with an explicit param. This prevents any rental methods from blocking deref.\"]\n    #[rental(deref_suffix)] pub struct SimpleRefDeref\n    { head: Box<i32>, iref: &'head i32, }\n    #[doc =\n    r\" Identical to [`SimpleMut`](struct.SimpleMut.html), but with the `deref_mut_suffix` flag enabled. This will provide a `DerefMut` impl for the struct, which will in turn deref the suffix.Notice that this flag also removes the `self` param from all methods, replacing it with an explicit param. This prevents any rental methods from blocking deref.\"]\n    #[rental_mut(deref_mut_suffix)] pub struct SimpleMutDeref\n    { head: Box<i32>, iref: &'head mut i32, }\n    #[doc =\n    r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `covariant` flag enabled. For rental structs where the field types have covariant lifetimes, this will allow you to directly borrow the fields, as they can be safely reborrowed to a shorter lifetime. See the [`all`](struct.SimpleRefCovariant.html#method.all) and [`suffix`](struct.SimpleRefCovariant.html#method.suffix) methods.\"]\n    #[rental(covariant)] pub struct SimpleRefCovariant\n    { head: Box<i32>, iref: &'head i32, }\n    #[doc =\n    r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `map_suffix` flag enabled. This will allow the type of the suffix to be changed by mapping it to another instantiation of the same struct with the different type param. See the [`map`](struct.SimpleRefMap.html#method.map), [`try_map`](struct.SimpleRefMap.html#method.try_map), and [`try_map_or_drop`](struct.SimpleRefMap.html#method.try_map_or_drop) methods.\"]\n    #[rental(map_suffix = \"T\")] pub struct SimpleRefMap<T: 'static>\n    { head: Box<i32>, iref: &'head T, })).0\n}"
[INFO] [stdout]     = note: this error originates in the macro `rental` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rental-0.5.5/src/lib.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |               #[derive(__rental_structs_and_impls)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 | / rental! {
[INFO] [stdout] 351 | |     /// Premade types for the most common use cases.
[INFO] [stdout] 352 | |     pub mod common {
[INFO] [stdout] 353 | |         use std::ops::DerefMut;
[INFO] [stdout] ...   |
[INFO] [stdout] 485 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{\n    Input =\n    (0, stringify!\n    (use std::ops::DerefMut; use stable_deref_trait::StableDeref; use\n    std::cell; use std::sync;\n    #[doc = r\" Stores an owner and a shared reference in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentRef;\"] #[doc = r\" # fn main() {\"]\n    #[doc = r\" let r = RentRef::new(Box::new(5), |i| &*i);\"]\n    #[doc = r\" assert_eq!(*r, RentRef::rent(&r, |iref| **iref));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentRef<H: 'static + StableDeref, T: 'static>\n    { head: H, suffix: &'head T, }\n    #[doc = r\" Stores an owner and a mutable reference in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentMut;\"] #[doc = r\" # fn main() {\"]\n    #[doc = r\" let mut r = RentMut::new(Box::new(5), |i| &mut *i);\"]\n    #[doc = r\" *r = 12;\"]\n    #[doc = r\" assert_eq!(12, RentMut::rent(&mut r, |iref| **iref));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental_mut(debug, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentMut<H: 'static + StableDeref + DerefMut, T: 'static>\n    { head: H, suffix: &'head mut T, }\n    #[doc = r\" Stores a `RefCell` and a `Ref` in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentRefCell;\"] #[doc = r\" # fn main() {\"]\n    #[doc = r\" use std::cell;\"] #[doc = r\"\"]\n    #[doc =\n    r\" let r = RentRefCell::new(Box::new(cell::RefCell::new(5)), |c| c.borrow());\"]\n    #[doc = r\" assert_eq!(*r, RentRefCell::rent(&r, |c| **c));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentRefCell<H: 'static + StableDeref, T: 'static>\n    { head: H, suffix: cell::Ref<'head, T>, }\n    #[doc = r\" Stores a `RefCell` and a `RefMut` in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentRefCellMut;\"]\n    #[doc = r\" # fn main() {\"] #[doc = r\" use std::cell;\"] #[doc = r\"\"]\n    #[doc =\n    r\" let mut r = RentRefCellMut::new(Box::new(cell::RefCell::new(5)), |c| c.borrow_mut());\"]\n    #[doc = r\" *r = 12;\"]\n    #[doc = r\" assert_eq!(12, RentRefCellMut::rent(&r, |c| **c));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental_mut(debug, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentRefCellMut<H: 'static + StableDeref + DerefMut, T: 'static>\n    { head: H, suffix: cell::RefMut<'head, T>, }\n    #[doc = r\" Stores a `Mutex` and a `MutexGuard` in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentMutex;\"] #[doc = r\" # fn main() {\"]\n    #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n    #[doc =\n    r\" let mut r = RentMutex::new(Box::new(sync::Mutex::new(5)), |c| c.lock().unwrap());\"]\n    #[doc = r\" *r = 12;\"]\n    #[doc = r\" assert_eq!(12, RentMutex::rent(&r, |c| **c));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental(debug, clone, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentMutex<H: 'static + StableDeref + DerefMut, T: 'static>\n    { head: H, suffix: sync::MutexGuard<'head, T>, }\n    #[doc =\n    r\" Stores an `RwLock` and an `RwLockReadGuard` in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentRwLock;\"] #[doc = r\" # fn main() {\"]\n    #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n    #[doc =\n    r\" let r = RentRwLock::new(Box::new(sync::RwLock::new(5)), |c| c.read().unwrap());\"]\n    #[doc = r\" assert_eq!(*r, RentRwLock::rent(&r, |c| **c));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentRwLock<H: 'static + StableDeref, T: 'static>\n    { head: H, suffix: sync::RwLockReadGuard<'head, T>, }\n    #[doc =\n    r\" Stores an `RwLock` and an `RwLockWriteGuard` in the same struct.\"]\n    #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n    #[doc = r\" # use rental::common::RentRwLockMut;\"]\n    #[doc = r\" # fn main() {\"] #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n    #[doc =\n    r\" let mut r = RentRwLockMut::new(Box::new(sync::RwLock::new(5)), |c| c.write().unwrap());\"]\n    #[doc = r\" *r = 12;\"]\n    #[doc = r\" assert_eq!(12, RentRwLockMut::rent(&r, |c| **c));\"]\n    #[doc = r\" # }\"] #[doc = r\" ```\"]\n    #[rental(debug, clone, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n    struct RentRwLockMut<H: 'static + StableDeref, T: 'static>\n    { head: H, suffix: sync::RwLockWriteGuard<'head, T>, })).0\n}"
[INFO] [stdout]     = note: this error originates in the macro `rental` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rental` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "22b397becf7e6a1083c23c2daec2a73999774e1dd4208cdc04d5cdb5049dbe70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22b397becf7e6a1083c23c2daec2a73999774e1dd4208cdc04d5cdb5049dbe70", kill_on_drop: false }`
[INFO] [stdout] 22b397becf7e6a1083c23c2daec2a73999774e1dd4208cdc04d5cdb5049dbe70
